<div class="row-fluid">
    <div class="navbar no-margin">
        <div class="navbar-inner">
            <ul class="breadcrumb">
                <i class="icon-chevron-left hide-sidebar"><a href='#' title="Hide Sidebar" rel='tooltip'>&nbsp;</a></i>
                <i class="icon-chevron-right show-sidebar" style="display:none;"><a href='#' title="Show Sidebar"
                                                                                    rel='tooltip'>&nbsp;</a></i>
                <li>
                    <a href="#/star">首页</a>
                </li>
                <li>
                    <a href="#/star/merchant/merchant_list">队列管理</a>
                </li>
                <li class="active">队列信息</li>
            </ul>
        </div>
    </div>
</div>

<div class="container-fluid">
    <div class="row">
        <div class="col-sm-12 col-md-12 main">
            <div class="col-md-6 col-md-offset-3">
                <h2 style="text-align: center">队列详情信息</h2>
                <form name="form" ng-submit="form.$valid&&setYarnQuota()" novalidate>
                    <div class="form-group">
                        <label>集群名称</label>
                        <input type="text" class="form-control" name="clusterName" ng-model="vm.p.clusterName" required />
                        <span ng-show="form.clusterName.$error.required" class="help-block" >集群名称!</span>
                    </div>
                    <div class="form-group">
                        <label>队列类型(0-动态，1-固定)</label>
                        <input type="text" class="form-control" name="queueType" ng-model="vm.p.queueType"  />
                        <span ng-show="form.queueType.$error.required" class="help-block" >队列类型!</span>
                    </div>
                    <div class="form-group">
                        <label>队列名称</label>
                        <input type="text" class="form-control" name="queue" ng-model="vm.p.queue" required />
                        <span ng-show="form.queue.$error.required" class="help-block" >队列名称!</span>
                    </div>
                    <div class="form-group">
                        <label>队列描述</label>
                        <input type="text" class="form-control" name="queueDesc" ng-model="vm.p.queueDesc" required />
                        <span ng-show="form.queueDesc.$error.required" class="help-block" >队列描述!</span>
                    </div>
                    <div class="form-group">
                        <label>CPU-分配（core）</label>
                        <input type="text" class="form-control" name="cpuMin" ng-model="vm.p.cpuMin" required />
                        <span ng-show="form.cpuMin.$error.required" class="help-block" >CPU-分配!</span>
                    </div>
                    <div class="form-group">
                        <label>CPU-上限</label>
                        <input type="text" class="form-control" name="cpuMax" ng-model="vm.p.cpuMax" required />
                        <span ng-show="form.cpuMax.$error.required" class="help-block" >CPU-上限!</span>
                    </div>
                    <div class="form-group">
                        <label>MEM-分配（MB）</label>
                        <input type="text" class="form-control" name="memMin" ng-model="vm.p.memMin" required />
                        <span ng-show="form.memMin.$error.required" class="help-block" >MEM-分配!</span>
                    </div>
                    <div class="form-group">
                        <label>MEM-上限</label>
                        <input type="text" class="form-control" name="memMax" ng-model="vm.p.memMax" required />
                        <span ng-show="form.memMax.$error.required" class="help-block" >MEM-上限!</span>
                    </div>

                    <div class="form-group">
                        <label>负责人ID</label>
                        <input type="text" class="form-control" name="ownerID" ng-model="vm.p.ownerID" required />
                        <span ng-show="form.ownerID.$error.required" class="help-block" >负责人ID!</span>
                    </div>

                    <div class="form-group">
                        <label>负责人名称</label>
                        <input type="text" class="form-control" name="ownerCn" ng-model="vm.p.ownerCn" required />
                        <span ng-show="form.ownerCn.$error.required" class="help-block" >负责人名称!</span>
                    </div>

                    <div class="form-group">
                        <label>所属部门</label>
                        <input type="text" class="form-control" name="departID" ng-model="vm.p.departID" required />
                        <span ng-show="form.departID.$error.required" class="help-block" >所属部门!</span>
                    </div>

                    <div class="form-group">
                        <input class="btn btn-primary" type="submit" value="确定"/>
                        <a href="#/star/order/yarn_quota_list/0/0" class="btn btn-default">取消</a>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div><!--/.container-->
